
package com.neuedu.cglib;

public class TestCglib {
    public static void main(String[] arg){
        CglibProxy cgligProxy=new CglibProxy();
        UserDao userDao=new UserDao();
        UserDao userDao1=(UserDao)cgligProxy.createProxy(userDao);
        userDao1.addUser();
        userDao1.deleteUser();
        UserDao userDao2=(UserDao)cgligProxy.createProxy(userDao);
        userDao2.addUser();
        userDao2.deleteUser();
    }
}
